package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @Auther xjw
 * @Date 2019/1/21 0948
 * @Description
 */
@TableName(value = "s_remoteservers")
public class RemoteServers {

    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.ID_WORKER)
    private Long id;

    @JSONField(name = "Code")
    @TableField(value = "Code")
    private String code;

    @JSONField(name = "Encoding")
    @TableField(value = "Encoding")
    private String encoding;

    @JSONField(name = "Host")
    @TableField(value = "Host")
    private String host;

    @JSONField(name = "Name")
    @TableField(value = "Name")
    private String name;

    @JSONField(name = "Pass")
    @TableField(value = "Pass")
    private String pass;

    @JSONField(name = "Port")
    @TableField(value = "Port")
    private Integer port;

    @JSONField(name = "Security")
    @TableField(value = "Security")
    private Integer security;

    @JSONField(name = "ServerType")
    @TableField(value = "ServerType")
    private String serverType;

    @JSONField(name = "Url")
    @TableField(value = "Url")
    private String url;

    @JSONField(name = "User")
    @TableField(value = "User")
    private String user;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getSecurity() {
        return security;
    }

    public void setSecurity(Integer security) {
        this.security = security;
    }

    public String getServerType() {
        return serverType;
    }

    public void setServerType(String serverType) {
        this.serverType = serverType;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
